(global.webpackJsonp = global.webpackJsonp || []).push([ [ "diy/components/userInfor" ], {
    "03d6": function(t, n, a) {},
    1644: function(t, n, a) {
        a.r(n);
        var i = a("4c88"), o = a.n(i);
        for (var e in i) "default" !== e && function(t) {
            a.d(n, t, function() {
                return i[t];
            });
        }(e);
        n.default = o.a;
    },
    "35b5": function(t, n, a) {
        a.r(n);
        var i = a("a75c"), o = a("1644");
        for (var e in o) "default" !== e && function(t) {
            a.d(n, t, function() {
                return o[t];
            });
        }(e);
        a("81c2");
        var f = a("f0c5"), s = Object(f.a)(o.default, i.b, i.c, !1, null, "7fbf12d2", null, !1, i.a, void 0);
        n.default = s.exports;
    },
    "4c88": function(t, n, a) {
        Object.defineProperty(n, "__esModule", {
            value: !0
        }), n.default = void 0, function(t) {
            t && t.__esModule;
        }(a("03b8"));
        var i = a("7960"), o = a("4771"), e = a("a71e"), f = a("b806"), s = a("8434");
        a("db8f");
        var r = {
            props: {
                params: {
                    type: Object,
                    default: function() {
                        return {};
                    }
                },
                infos: {
                    type: Object,
                    default: function() {
                        return {};
                    }
                }
            },
            watch: {
                params: function() {
                    this.params = this.params;
                },
                infos: function() {
                    var t = this;
                    this.infoData = JSON.parse(JSON.stringify(this.infos)), t.isTrue = 1 == (0, e.isEmpty)(this.infoData.nickName), 
                    t.infoData.nickName = 1 == (0, e.isEmpty)(this.infoData.nickName) ? "登录/注册" : this.infoData.nickName, 
                    t.isPhone = 1 == (0, e.isEmpty)(this.infoData.phone), t.infoData.phone = 1 == (0, 
                    e.isEmpty)(this.infoData.phone) ? "绑定手机号" : this.infoData.phone, t.infoData.avatarUrl = 1 == (0, 
                    e.isEmpty)(this.infoData.avatarUrl) ? a("d42c") : this.infoData.avatarUrl;
                }
            },
            onShow: function() {
                (0, f.init)(this).then(function(t) {});
            },
            data: function() {
                return {
                    isTrue: !0,
                    isPhone: !0,
                    infoData: {
                        nickName: "",
                        phone: "",
                        avatarUrl: ""
                    }
                };
            },
            mounted: function() {
                var t = this;
                this.infoData = JSON.parse(JSON.stringify(this.infos)), t.isTrue = 1 == (0, e.isEmpty)(this.infoData.nickName), 
                t.infoData.nickName = 1 == (0, e.isEmpty)(this.infoData.nickName) ? "登录/注册" : this.infoData.nickName, 
                t.isPhone = 1 == (0, e.isEmpty)(this.infoData.phone), t.infoData.phone = 1 == (0, 
                e.isEmpty)(this.infoData.phone) ? "绑定手机号" : this.infoData.phone, t.infoData.avatarUrl = 1 == (0, 
                e.isEmpty)(this.infoData.avatarUrl) ? a("d42c") : this.infoData.avatarUrl;
            },
            methods: {
                goMember: function() {
                    (0, s.route)({
                        url: "/member/member/memCenter",
                        type: 1,
                        data: {}
                    });
                },
                modiInFo: function() {
                    (0, i.h5JudgeLogin)(2).then(function(t) {
                        t || (0, s.route)({
                            url: "/pages/user/modifyPersonal",
                            type: 1,
                            data: {}
                        });
                    });
                },
                updateData: function(t) {
                    var n = this;
                    this.infoData = JSON.parse(JSON.stringify(t)), n.isTrue = 1 == (0, e.isEmpty)(this.infoData.nickName), 
                    n.infoData.nickName = 1 == (0, e.isEmpty)(this.infoData.nickName) ? "登录/注册" : this.infoData.nickName, 
                    n.isPhone = 1 == (0, e.isEmpty)(this.infoData.phone), n.infoData.phone = 1 == (0, 
                    e.isEmpty)(this.infoData.phone) ? "绑定手机号" : this.infoData.phone, n.infoData.avatarUrl = 1 == (0, 
                    e.isEmpty)(this.infoData.avatarUrl) ? a("d42c") : this.infoData.avatarUrl;
                },
                bindPhone: function() {
                    (0, i.verifyLogin)(3);
                },
                goLogin: function() {
                    (0, o.getStorageSync)("userInfo").then(function(t) {
                        if ((0, e.isEmpty)(t.data)) return (0, i.verifyLogin)(2), !1;
                        var n = JSON.parse(t.data);
                        ("false" == t.data || n.hasOwnProperty("id") && (0, e.isEmpty)(n.id)) && (0, i.verifyLogin)(2);
                    }, function(t) {
                        (0, i.verifyLogin)(2);
                    });
                }
            }
        };
        n.default = r;
    },
    "81c2": function(t, n, a) {
        var i = a("03d6");
        a.n(i).a;
    },
    a75c: function(t, n, a) {
        a.d(n, "b", function() {
            return i;
        }), a.d(n, "c", function() {
            return o;
        }), a.d(n, "a", function() {});
        var i = function() {
            this.$createElement;
            this._self._c;
        }, o = [];
    }
} ]), (global.webpackJsonp = global.webpackJsonp || []).push([ "diy/components/userInfor-create-component", {
    "diy/components/userInfor-create-component": function(t, n, a) {
        a("543d").createComponent(a("35b5"));
    }
}, [ [ "diy/components/userInfor-create-component" ] ] ]);